package com.ynet.hmds28.movie.dao;

import com.ynet.hmds28.movie.model.Movie;
import com.ynet.hmds28.movie.model.MovieQuery;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MovieDao {
    int countByExample(MovieQuery example);

    int deleteByExample(MovieQuery example);

    int deleteByPrimaryKey(String movieid);

    int insert(Movie record);

    int insertSelective(Movie record);

    List<Movie> selectByExample(MovieQuery example);

    Movie selectByPrimaryKey(String movieid);

    int updateByExampleSelective(@Param("record") Movie record, @Param("example") MovieQuery example);

    int updateByExample(@Param("record") Movie record, @Param("example") MovieQuery example);

    int updateByPrimaryKeySelective(Movie record);

    int updateByPrimaryKey(Movie record);
}